package com.ruoyix.weblog.domain.bo;

import com.ruoyix.common.core.validate.AddGroup;
import com.ruoyix.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;

import com.ruoyix.common.core.domain.BaseEntity;

/**
 * 视频集管理业务对象 blog_video_catalog
 *
 * @author ruoyi
 * @date 2024-09-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BlogVideoCatalogBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 集合标题
     */
    @NotBlank(message = "集合标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String catalogName;

    /**
     * 视频集描述
     */
    @NotBlank(message = "视频集描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String description;

    /**
     * 排序
     */
    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long orderNumber;

    /**
     * 封面
     */
    @NotBlank(message = "封面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String catalogCover;

    /**
     * 备注
     */
    private String remark;



}
